﻿using Share;
using System.ComponentModel.DataAnnotations;

namespace SystemWFH.Domain
{
    /// <summary>
    /// 车间信息
    /// </summary>
    public class Workshop : Audit
    {
        /// <summary>
        /// 车间ID
        /// </summary>
        [Key]
        public int workshopId { get; set; }
        /// <summary>
        /// 车间编号
        /// </summary>
        public string? workshopNo { get; set; }
        /// <summary>
        /// 车间名称
        /// </summary>
        public string? workshopName { get; set; }
        /// <summary>
        /// 车间位置
        /// </summary>
        public string? workshopLocation { get; set; }
        /// <summary>
        /// 车间负责人
        /// </summary>
        public string? workshopLeader { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string? workshopContact { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int workshopState { get; set; }
        /// <summary>
        /// 删除标记（true删除，false正常）
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
